<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Navtype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-navType" data-rule="required" class="form-control selectpicker" name="row[navType]">
                {foreach name="navtypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.navType"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Navtitle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-navTitle" data-rule="required" class="form-control" name="row[navTitle]" type="text" value="{$row.navTitle}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Navurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-navUrl" data-rule="required" class="form-control" name="row[navUrl]" type="text" value="{$row.navUrl}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Showis')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-showis" name="row[showis]" type="hidden" value="{$row.showis}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-showis" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.showis" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isopen')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-isOpen" data-rule="required" class="form-control selectpicker" name="row[isOpen]">
                {foreach name="isopenList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.isOpen"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createtime]" type="text" value="{$row.createtime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
